<% form_for :admin, :method => :post do |f| %>
<%= f.text_field :password %><br/>
<%= f.text_field :name %><br/>
<%= submit_tag 'submit' %>
<% end %>
